package cn.cjx.system.mapper;

import cn.cjx.system.domain.Permission;
import cn.cjx.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cjx
 * @since 2022-05-13
 */
public interface PermissionMapper extends BaseMapper<Permission> {

	/**
	 * @author 陈吉祥
	 * @Date 2022/5/15
	 * 根据sn查询权限信息
	 */
	Permission loadBySn(String permissionSn);

	List<String> loadPermissionByLogininfoId(Long id);
}
